<div class="col-sm-12 mt20">
    <div class="modal-header" style="background-color: #fff;">
        <h4 class="modal-title">预览</h4>
    </div>
    <div class="modal-body" style="background-color: #fff;">
        <div class="contains panel panel-default">
            <div class="demo panel-body">
                <div class="col-xs-12 row">
                    <div class="col-xs-12">
                        <div class="col-xs-9">
                            <div class="front text-center">屏幕</div>
                        </div>
                        <div class="col-xs-3"></div>
                    </div>
                    <div id="seat-map2" class="col-xs-12 text-center" style="max-height: 800px;">
                    </div>
                    <div class="booking-details col-xs-2 row">
                        <div class="col-xs-12" ng-if="priceList.length > 0" sty>
                            <table class="table table-striped table-bordered table-condensed">
                                <thead>
                                    <tr>
                                        <th class="col-md-1 text-center">颜色</th>
                                        <th class="col-md-2 text-center">成本|指导|市场价</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="price in priceList">
                                        <td class="text-center">
                                            <div ng-style="price.style">
                                                <a type="button" class="btn btn-sm" ng-click="setPricecolor(price)">&nbsp;</a>
                                            </div>
                                        </td>
                                        <td class="text-center">
                                            {{price.cost_price}}|{{price.guide_price}}|{{price.market_price}}(元)
                                        </td>
                                    </tr>
                                    <tr ng-if="movieList.length == 0">
                                        <td colspan="10" class="text-center">
                                            没有数据
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer" style="background-color: #fff;">
        <button class="btn btn-success" onclick="javascript:
                        $('.seatCharts-cell-2-new').addClass('seatCharts-cell-2');
                        $('.seatCharts-cell-2').removeClass('seatCharts-cell-2-new');">默认</button>
        <button class="btn btn-danger" onclick="javascript:
                        $('.seatCharts-cell-2').addClass('seatCharts-cell-2-new');
                        $('.seatCharts-cell-2-new').removeClass('seatCharts-cell-2');
                    ">缩小</button>
    </div>
    <style type="text/css">
        /* .demo {
            width: 700px;
            margin: 40px auto 0 auto;
            min-height: 450px;
        } */

        @media screen and (max-width: 360px) {
            .demo {
                width: 340px
            }
        }

        li {
            list-style-type: none;
        }

        .front {
            width: 400px;
            /* margin: 5px 32px 45px 32px; */
            margin: auto;
            margin-bottom: 30px;
            background-color: #f0f0f0;
            color: #666;
            /* text-align: center; */
            /* padding: 3px; */
            border-radius: 5px;
        }

        .booking-details {

            float: right;
            position: relative;
            width: 300px;
            /* padding-top: 10%; */
            /* height: 850px; */
            max-height: 600px;
            overflow-y: scroll;
        }

        .booking-details h3 {
            margin: 5px 5px 0 0;
            font-size: 16px;
        }

        .booking-details p {
            line-height: 26px;
            font-size: 16px;
            color: #999
        }

        .booking-details p span {
            color: #666
        }

        div.seatCharts-cell-2 {
            color: #182C4E;
            height: 35px;
            width: 35px;
            /* line-height: 25px; */
            margin: 3px;
            /* float: left; */
            text-align: center;
            outline: none;
            font-size: 13px;
            display: inline-block;
        }

        div.seatCharts-seat-2 {
            color: #fff;
            cursor: pointer;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
        }

        div.seatCharts-row-2 {
            white-space: nowrap;
            height: 36px;
        }

        div.seatCharts-seat-2.available {
            /* background-color: #B9DEA0; */
            border: none;
        }

        div.seatCharts-seat-2.focused {
            background-color: #76B474;
            border: none;
        }

        div.seatCharts-seat-2.selected {
            background-color: #E6CAC4;
        }

        div.seatCharts-seat-2.unavailable {
            /* background-color: #472B34; */
            /* cursor: not-allowed; */
            background-color: #fff;
            color: #fff;
        }

        div.seatCharts-container-2 {
            /* border-right: 1px dotted #adadad; */
            width: 70%;
            /* padding: 5%; */
            float: left;
            /* max-height: 600px; */
            max-width: 750px;
            overflow: auto;
        }

        div.seatCharts-legend {
            padding-left: 0px;
            /* position: absolute; */
            /* bottom: 16px; */
        }

        ul.seatCharts-legendList {
            padding-left: 0px;
        }

        .seatCharts-legendItem {
            float: left;
            width: 90px;
            margin-top: 10px;
            line-height: 2;
        }

        span.seatCharts-legendDescription {
            margin-left: 5px;
            line-height: 30px;
        }

        /* .checkout-button {
            display: block;
            width: 80px;
            height: 24px;
            line-height: 20px;
            margin: 10px auto;
            border: 1px solid #999;
            font-size: 14px;
            cursor: pointer
        } */

        #selected-seats {
            max-height: 250px;
            overflow-y: auto;
            overflow-x: none;
            width: 200px;
        }

        #selected-seats li {
            float: left;
            width: 72px;
            height: 26px;
            line-height: 26px;
            border: 1px solid #d3d3d3;
            background: #f7f7f7;
            margin: 6px;
            font-size: 14px;
            font-weight: bold;
            text-align: center
        }
        
        div.seatCharts-cell-2-new {
            color: #182C4E;
            height: 20px;
            width: 20px;
            /* line-height: 25px; */
            margin: 1px;
            /* float: left; */
            text-align: center;
            outline: none;
            font-size: 0px;
            display: inline-block;
        }
    </style>
</div>